//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.redis.connection.RedisStandaloneConfiguration;
//import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
//
///**
// * @Classname RedisConfiguration
// * @Description TODO
// * @Date 2022/4/11 12:15
// * @Created by TaoVh
// */
//@Configuration
//public class RedisConfiguration {
//    @Bean
//    public JedisConnectionFactory redisConnectionFactory(){
//        RedisStandaloneConfiguration config = new RedisStandaloneConfiguration("localhost", 6379);
//        return new JedisConnectionFactory(config);
//    }
//}
